<template>
    <div>
        clear
    </div>
</template>

<script>
import {
    getUserInfo,
    setUserInfo,
    logout
} from '@/utils/auth'
export default {
    data() {
        return {

        }
    },
    created() {
        logout()
        this.$api.manage.out().then(res => {
            if (res.success) {
                // logout()
                console.log(res)
                let url = `${window.loginUrl}${location.origin}`;
                window.location.href = url;
                // location.reload();
            }
        });
    }
}
</script>

<style>
</style>
